<?php
	define("DSN","mysql:host=localhost;dbname=parking");
	define("DBUSER","root");
	define("DBPWD","AAA123chen");

	try{
		$pdo = new PDO(DSN,DBUSER,DBPWD);
	}catch(PDOException $e){
		die("连接失败".$e->getMessage());
	}

?>